package com.huangpuweb.api.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class BlmqOwnCheckListRowMapper implements RowMapper<BlmqOwnCheckList>{



	@Override
	public BlmqOwnCheckList mapRow(ResultSet rs, int rowNum) throws SQLException {
		BlmqOwnCheckList  lj= new BlmqOwnCheckList();
		lj.setID(rs.getString("ID"));
		lj.setBUILD_ID(rs.getInt("BUILD_ID"));
		lj.setYEAR(rs.getInt("YEAR"));
		lj.setWINDOW(rs.getInt("WINDOW"));
		lj.setSEALANT(rs.getInt("SEALANT"));
		lj.setGLASS(rs.getInt("GLASS"));
		lj.setFORCE(rs.getInt("FORCE"));
		lj.setRAIN(rs.getInt("RAIN"));
		lj.setADD_TIME(rs.getTimestamp("ADD_TIME"));
		lj.setCREATE_TIME(rs.getTimestamp("CREATE_TIME"));
		return lj;
	}

}
